<?php


namespace Admin\Controller;
use Think\Controller;

class StoreController extends AdminController{
    
    public function Index(){
        
        $data = D('Store')->lists();
        $build = new BuildController();
        $build->datalist($data)
              ->addfield('编号','id')
              ->addfield('商品名称','title')
              ->addfield('商品类别','type')
              ->addfield('更新时间','update_time')
              ->buildtemptel('Store/index')
              ->show();
        
    }
    
}

